<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div th:fragment="compOne">
    <style>
        .comp-one {
            height: 200px;
        }
    </style>
    <div class="comp-one" style="height: 300px">
        <p>哈哈哈哈</p>
    </div>
    <script>
        new Vue({
            el: '.comp-one',
        });
    </script>
</div>
</html>
